package com.sodaopen.study.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Locked {
    private Integer userId;
    private Integer courseId;
    private Integer chapterId;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createdDate;

    //非数据库字段，仅用于展示
    private String name;
    private String courseName;
    private String chapterName;
}
